package com.wtpaint.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 添加路由注解
 */
@Target({ElementType.TYPE})//元注解
@Retention(RetentionPolicy.CLASS)
public @interface Route {
    //路由路径
    String path();

    //路由分组
    String group() default "";
}
